<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta charset="utf-8" name="viewport"
        content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
    <title>添加新课程信息</title>
</head>

<body>
    <h1>添加新课程信息</h1>
    <form class="comment-form">
        {% csrf_token %}
        <div class="form-item">
            <p>请输入课程名称*</p>
            <input type="text" name="name" maxlength="200" required>
        </div>
        <div class="form-item">
            <p>请输入老师的名字*</p>
            <input type="text" name="teacher" maxlength="100" required>
        </div>
        <div class="form-item">
            <p>请输入这门课的学分*</p>
            <input type="number" step="0.1" min="0" name="credit" required>
        </div>
        <input type="submit" value="提交">
    </form>
    <script async src="/media/js/createlesson.js"></script>
</body>

</html>